<div class="album container">
        <div class="photo-list">
            <div class="ui grid">
                <span *ngFor="let photo of photos">
                    <div class="ui segment">
                        <img src="http://localhost:8099/images/{{photo.imageName}}" class="ui medium image" (click)="onSelect(photo)" style="cursor:pointer"/>
                        <div class="ui grid">
                            <div class="twelve wide column left aligned">
                                <strong>{{photo.title}}</strong>
                            </div>
                            <div class="four wide column right aligned">
                                <strong>{{photo.likes}} likes</strong>
                            </div>
                        </div>
                    </div>
                </span>
            </div>
        </div>
        <a class="ui button" routerLink="/addPhoto">Add Photo</a>
</div>
